package RabbitUI.filetype;

import java.io.File;
import java.io.FilenameFilter;

public class filetype_file_filter implements FilenameFilter {

		public final static String FILETYPE=".rabbitype";//repeat again on this
		public boolean accept(File f) {
			return  f.isDirectory() ||  f.getName().endsWith(FILETYPE);
		}

		public String getDescription() {
			return  FILETYPE;
		}
		public boolean accept(File dir, String name) {
			return  name.endsWith(FILETYPE);
		}



}
